package com.winsdom.vo;

import com.winsdom.dto.LoginDto;

import com.winsdom.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
public class LoginVo {
    public String getToken() {
        return token;
    }
    public LoginVo() {}

    public void setToken(String token) {
        this.token = token;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public LoginVo(SysUser sysUser, String token) {
        this.sysUser = sysUser;
        this.token = token;
    }

    //    注入
   private SysUser sysUser;
//   token
    private String token;
}
